package com.example.deptconsumer80;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName: DeptConsumer80App
 * @Author: liugui
 * @Date: 2020-09-19 09:54
 **/
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages= {"com.example.dept","com.example.deptconsumer80"})
@ComponentScan(basePackages= {"com.example.dept","com.example.deptconsumer80"})
public class DeptConsumerFeignApp {

    public static void main(String[] args) {
        SpringApplication.run(DeptConsumerFeignApp.class);
    }
}
